import http from '@/utils/request'


//  查询所有日志信息（分页，模糊查询）的接口
export function getAllLogRequest (currentPage,pageSize,searchUserName) {
    return http({
        url:'/log',
        method:'get',
        data:{},
        params:{currentPage,pageSize,searchUserName}
    })
}

//  根据id删除日志信息的接口
export function deleteLogByIdRequest (logId) {
    return http({
        url:`/log/${logId}`,
        method:'delete',
        data:{},
    })
}